<template>
  <div class="bigbox">
    <div></div>
    <div id="smallbox">
      <p>大学<span @click="fun()" class="iconfont icon-xiajiantou"></span></p>
      <div class="boxa">
        <span class="jx">精选课程</span>
        <span class="wd"   @click="fun()">我的课程</span>
      </div>
    </div>
    <h6 class="h">斩家精选好课</h6>
  </div>
</template>

<script>
export default {
  methods:{
    fun(){
      this.$router.push("/hhh")
    }
  }
};
</script>

<style scoped>
/* 头部 */
.bigbox {
  width: 100%;
  /* height: 15rem; */
  background: #f8f8f8;
}
#smallbox {
  height: 0.45rem;
  display: flex;
  border-bottom: 0.01rem solid #e9e9e9;
}
p {
  text-align: center;
  width: 0.75rem;
  height: 0.3rem;
  /* background: yellow; */
  text-align: center;
  line-height: 0.42rem;
  font-size: 0.12rem;
  color: #b2b5bb;
}
.icon-xiajiantou {
  font-size: 0.08rem;
  -webkit-transform: scale(0.833);
}
.boxa {
  width: 1.6rem;
  height: 0.3rem;
  background: #eeeff3;
  display: flex;
  text-align: center;
  line-height: 0.28rem;
  align-items: center;
  border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
  margin: auto;
}
.jx {
  display: block;
  font-size: 0.14rem;
  width: 0.72rem;
  height: 0.28rem;
  background: #fcfcfc;
  border-top: 0.01rem solid #efefef;
  border-bottom: 0.01rem solid #efefef;
  border-left: 0.01rem solid #efefef;
  border-radius: 0.03rem 0.03rem 0.03rem 0.03rem;
  /* -webkit-transform: scale(0.833); */
  margin-left: 0.02rem;
  font-weight: 6rem;
  color: #000000;
}
.wd {
  display: block;
  font-size: 0.14rem;
  width: 0.72rem;
  height: 0.3rem;
  border-radius: 0rem 0.06rem 0.06rem 0rem;
  background: #eeeff3;
}
</style>